package com.wu.cloud.custom.service;

import com.wu.cloud.custom.service.impl.FeignErrorImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "pesk-provider", fallback = FeignErrorImpl.class)
public interface TestService {

    @GetMapping(value = "/test/{name}")
    String test(@PathVariable("name") String name);
}
